<?php
include 'includes/document_head.php';
?>
<div id="login_box" class="round_all clearfix">
  <form>
    <label class="fields"><strong>Username</strong><input type="text" id="username" name="username" class="indent round_all"></label>
    <label class="fields"><strong>Password</strong><input type="password" id="password" name="password" class="indent round_all"></label>
    <button class="button_colour round_all" onClick="location.href='dashboard_sorter.php'"><img width="24" height="24" alt="Locked 2" src="images/icons/small/white/locked_2.png"><span>Login</span></button>
    <div id="bar" class="round_bottom">
      Copyright &copy 2011. All rights reserved.
    </div>
    <a href="http://www.esoftdream.net" target="_blank" id="login_logo"><span>Esoftdream</span></a>
  </form>
</div>

<script type="text/javascript" src="<?php echo Yii::app()->params['backendUrl'];?>/js/livevalidation/livevalidation_standalone.js"></script>

<script type="text/javascript">
  
  // Validation
  var username = new LiveValidation('username');
  username.add( Validate.Presence );

  var password = new LiveValidation('password');
  password.add( Validate.Presence );

</script>

<?php include 'includes/closing_items.php'; ?>